package com.evony.common.beans 
{
    import flash.events.*;
    import mx.events.*;
    
    public class EquipmentBean extends Object
    {
        public function EquipmentBean(arg1:Object=null)
        {
            super();
            var loc1:*=0;
            _bindingEventDispatcher = new flash.events.EventDispatcher(flash.events.IEventDispatcher(this));
            if (arg1 != null) 
            {
                if (arg1.addAttribute != null) 
                {
                    this.addAttribute = arg1.addAttribute;
                }
                if (arg1.addAttributeType != null) 
                {
                    this.addAttributeType = arg1.addAttributeType;
                }
                if (arg1.equipmenttech != null) 
                {
                    this.equipmenttech = arg1.equipmenttech;
                }
                if (arg1.euipmenttechStarLv != null) 
                {
                    this.euipmenttechStarLv = arg1.euipmenttechStarLv;
                }
                if (arg1.heroPos != null) 
                {
                    this.heroPos = arg1.heroPos;
                }
                if (arg1.lv != null) 
                {
                    this.lv = arg1.lv;
                }
            }
            return;
        }

        public function toDebugString(arg1:String=""):String
        {
            var loc1:*=0;
            var loc2:*="";
            loc2 = loc2 + (arg1 + "addAttribute = " + this.addAttribute + "\n");
            loc2 = loc2 + (arg1 + "addAttributeType = " + this.addAttributeType + "\n");
            loc2 = loc2 + (arg1 + "equipmenttech = " + this.equipmenttech + "\n");
            loc2 = loc2 + (arg1 + "euipmenttechStarLv = " + this.euipmenttechStarLv + "\n");
            loc2 = loc2 + (arg1 + "heroPos = " + this.heroPos + "\n");
            loc2 = loc2 + (arg1 + "lv = " + this.lv + "\n");
            return loc2;
        }

        public function toObject():Object
        {
            var loc1:*=new Object();
            loc1.addAttribute = this.addAttribute;
            loc1.addAttributeType = this.addAttributeType;
            loc1.equipmenttech = this.equipmenttech;
            loc1.euipmenttechStarLv = this.euipmenttechStarLv;
            loc1.heroPos = this.heroPos;
            loc1.lv = this.lv;
            return loc1;
        }

        public function copyTo(arg1:com.evony.common.beans.EquipmentBean):void
        {
            arg1.addAttribute = this.addAttribute;
            arg1.addAttributeType = this.addAttributeType;
            arg1.equipmenttech = this.equipmenttech;
            arg1.euipmenttechStarLv = this.euipmenttechStarLv;
            arg1.heroPos = this.heroPos;
            arg1.lv = this.lv;
            return;
        }

        [Bindable]
        public var addAttribute:int;

        [Bindable]
        public var lv:int;

        [Bindable]
        public var heroPos:int;

        [Bindable]
        public var euipmenttechStarLv:int;

        [Bindable]
        public var equipmenttech:int;

        [Bindable]
        public var addAttributeType:int;
    }
}
